-- remote_clear_status
-- created by zhuangsl
-- 远程攻击燃烧目标魔法值

return {
    apply = function(prop, baseValue)
        return prop[3];
    end,

    -- 远程攻击时触发
    trigger = function(who, prop, arg)
        local target = arg;

        -- 清除增益状态
        CombatStatusM.clearStatusByType(target, COM_STATUS_BUFF);
        CombatStatusM.clearStatusByType(target, COM_STATUS_SPECIAL);
    end,

    record = function(target, prop, path)
        return false;
    end
};
